﻿/*
 * ============ [ 废土 ] ============
 *
 * [ 维护者 ]  argoran@gmail.com
 * [  状态  ]  原型
 *
 * ============ [ 注释 ] ============
 *
 * 存放程序变量的内部静态类
 *
 * ==================================
 */

using System;
using System.Collections.Generic;

using LastLand.Core;
using LastLand.Data.Connection;
using LastLand.Data.World;

using Up2Link.SegString;
using Up2Link.Server;
using Up2Link.Util;

namespace LastLand.Data.Global
{
    internal static class CData
    {
        public static CServer<CMessageSS> server = null;        
        public static Boolean serverOn = false;

        public static CTimerManager serverTimerManager = null;
        public static Int32 serverTimerCombatUpdateCounter = 0;
        public static Int32 serverTimerWorldUpdateCounter = 0;
        public static Int32 serverTimerCharacterUpdateCounter = 0;

        public static CConsole console = null;
        public static CCommand command = null;
        public static CMessage message = null;
        public static CTimerEvent timerEvt = null;

        public static Dictionary<String, CUserAccount> userAccounts = null;
        public static Dictionary<Int32, CConnection> connections = null;

        public static CWorld world = null;
    }
}
